package com.wzy.validation;

import javax.validation.Valid;

public class UserInfoService
{
	public void setUserInfo(@Valid UserInfo userInfo)
	{
		System.out.println("test");
	}

	public @Valid UserInfo getUserInfo()
	{
		return new UserInfo();
	}

	public UserInfoService()
	{
	}

	public UserInfoService(@Valid UserInfo userInfo)
	{
	}

}
